|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectParametriSAGA
public class ParametriSAGA
Constructor Summary | |
---|---|
ParametriSAGA(File ulaznaDatoteka)
Konstruktor objekta |
Method Summary | |
---|---|
int |
getBrojGeneracija()
Vraća broj generacija algoritma |
double |
getElitizam()
Vraća postotak najboljih jedinki koje se kopiraju u novu generaciju |
int |
getVelicinaPopulacije()
Vraća broj jedinki u populaciji |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParametriSAGA(File ulaznaDatoteka) throws IOException
ulaznaDatoteka
- datoteka iz koje se učitavaju parametri
IOException
- greška prilikom čitanja iz datotekeMethod Detail |
---|
public int getVelicinaPopulacije()
public int getBrojGeneracija()
public double getElitizam()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |